.github/workflow: Add auto release publish workflow - #11661
Conversation
| - name: Build libfabric | ||
| run: | | ||
| ./autogen.sh | ||
| ./configure | ||
| make dist |
There was a problem hiding this comment.
Need to build fabtests as well.
| echo "sha256_sums<<EOF" >> $GITHUB_OUTPUT | ||
| sha256sum libfabric-*.tar.* >> $GITHUB_OUTPUT | ||
| echo "EOF" >> $GITHUB_OUTPUT |
There was a problem hiding this comment.
We have been using sha512sum for prior releases.
There was a problem hiding this comment.
I changed sha256 to sha512, while keeping the md5sums
|
I would strongly encourage we consider using the release notes automatically generated by GitHub. It already nicely lists all the changes included since the previous release; automatically tagging contributors and relevant PRs. Ex: https://github.com/aws/s2n-tls/releases/tag/v1.6.1 Based on the docs, it's extensible/configurable as well. |
|
@j-xiong I think we start to sign the tarball, can you share how it works in the current release process? |
|
@shijin-aws A few steps I took: Do once:
For every release:
|
How do you import the private key when signing the tarball for every release? It is always operated on a persistent server which already has the key imported? |
|
I may drop that signing procedure within the current scope of this PR.. Every publisher can choose their own signing approach during the publish. It will just generate a draft release page and the operator can add/edit the artifacts anyway |
|
@shijin-aws I was doing it on a specific server, but I believe there are gpg commands to export and import private keys as well. |
But you have to pull the private key from a server to import if you want to sign the tarball from the github action container? |
|
@shijin-aws I agree the signing can be done manually. |
Good suggestion, we can make it as a follow-up PR |
0dc1e88 to
5690638
Compare
Oh, I didn't realize this will be just a button-click during the release publishing |
Signed-off-by: Shi Jin <sjina@amazon.com>
|
Addressed all the comments. @j-xiong @aingerson An example of the release page created by this workflow is available in https://github.com/shijin-aws/libfabric/releases/tag/v2.5.0sjina1.0. It is triggered by merging shijin-aws#14. Please let me know if you have more comments, thank you! |
|
bot:aws:retest |
2 similar comments
|
bot:aws:retest |
|
bot:aws:retest |
It is a workflow that automates the release process
Expected Workflow
Trigger:
releaselabelAutomatic Actions:
configure.acAC_INIT line (e.g.,2.4.0a1)./autogen.sh,./configure,make distto create tarballs.tar.gzand.tar.bz2files2.4.0a1).tar.gzand.tar.bz2filesResult:
A professional libfabric draft release page matching the official OFIWG format with checksums and downloadable tarballs, ready for manual publishing.
Usage:
configure.acif neededreleaselabel to any PR